package com.zhiche.lisa.oms.dao.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.zhiche.lisa.oms.dao.model.Order;
import com.zhiche.lisa.oms.dao.model.OrderAssign;
import com.zhiche.lisa.oms.dto.LisaFeeReceivable;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2018-06-18
 */
public interface OrderMapper extends BaseMapper<Order> {
    /**
     * 根据订单明细多表查询获取应收账单信息
     */
    List<LisaFeeReceivable> queryOrderNoTenant(List<String> wayBillDtlIds);


    List<Order> selectOneNoTenant(@Param("ew") EntityWrapper<OrderAssign> ew);

    List<Order> selectListNoTenant(@Param("ew") Wrapper<Order> orderWrapper);
}
